<template>
	<view class="appointment-content">
		<view class="appointment-search">
			<view class="appointment-search-box">
				<text class="cuIcon-search"></text>
				<input class="input-search" type="text" value="" placeholder="输入患者姓名/电话" />
				<button class="search" type="default" size="mini">搜索</button>
			</view>
		</view>
		<view class="appointment-box">
			<view class="appointment-box-list">
				<view class="appointment-box-item" v-for="(item,index) in dataList" :key="index">
					<view class="appointment-box-item-top uni-flex">
						<view class="appointment-item-portrait">
							<image src="/static/public/portrait01.png" mode="scaleToFill"></image>
						</view>
						<view class="appointment-item-information">
							<view class="uni-flex">
								<text class="nameAge">香蕉 - 0岁</text>
								<text class="medicalRecordNumber">DM191014005</text></view>
							<view>13872448283</view>
						</view>
					</view>
					<view class="appointment-box-item-bottom">
						<text>来源：</text><text>暂无</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList:[{'id':'1'},{'id':'2'},{'id':'3'},{'id':'4'},{'id':'5'}]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page,
	.appointment-content{
		height: 100%;
	}
	.appointment-search{
		background-color: white;
		padding: 30rpx;
		
		.appointment-search-box{
			background-color: #F1F1F1;
			display: flex;
			align-items:center;
			
			.cuIcon-search{
				text-align:center;
				width:80rpx;
				font-size:30rpx;
				color:#b5b4b2;
			}
			
			.input-search{
				height: 60rpx;
				width: 100%;
			}
			
			.search{
				width:140rpx;
				padding: 0;
			}
		}
	}
	.appointment-box{
		background-color:white;
		border-radius:5rpx;
		padding:20rpx;
		margin-top:30rpx;
		height:calc(100% - 150rpx);
		overflow:auto;
		
		.appointment-box-item{
			border-bottom:1rpx solid #eeeeee;
			padding:25rpx 10rpx;
			color:#868686;
			
			.appointment-item-portrait{
				width: 140rpx;
				image{
					width: 100rpx;
					height: 100rpx;
				}
			}
			
			.appointment-item-information{
				flex: 1;
				line-height:50rpx;
				
				.nameAge{
					color: black;
					flex: 1;
				}
			}
		}
		
		.appointment-box-item-bottom{
			padding:10rpx 15rpx 0;
			color: #686868;
		}
	}
</style>
